package com.neutech.player;

import java.awt.Graphics;
import java.awt.Image;

import com.neutech.constant.Constant;

public class UpPencil extends Pencil{

	public UpPencil(Image image,int top) {	
		super(Constant.WINDOW_WIDTH, top-image.getHeight(null),image.getWidth(null), image.getHeight(null),0, 0, image.getWidth(null), image.getHeight(null), image);
	}

	@Override
	public void draw(Graphics g) {
		g.drawImage(getImage(), getX(), getY(), null);
	}
}
